package com.hospital.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hospital.domain.pojo.Doctor;
import com.hospital.domain.utils.Result;

public interface DoctorService extends IService<Doctor> {
    Result signupDoctor(String name, String sex, Integer age, String title, String major, String info, Integer state, String depName, String pw);

    Result queryDoctor(Integer depId);

    Result queryAllDoctors();

    Result updateDoctor(Integer dId, String name, String sex, Integer age, String title, String major, String info, Integer state, String depName);

    Result deleteDoctor(Integer dId);
}
